<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>我的问题_列表</title>
<style type="text/css">
<!--
body{
	margin-top: 5px;
	margin-right: 5px;
	line-height:20px;	
}

body,td,th {
	font-family: 宋体;
	font-size: 12px;
}
td {
	padding-left:10px;
	padding-right:10px;
	padding-top:2px;
	padding-bottom:2px;
	vertical-align:top;
}
.STYLE1 {
	font-size: 14px;
	font-weight: bold;
	color: #660066;
}
a:link {
	color: #333333;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a:active {
	text-decoration: none;
}
.STYLE2 {font-weight: bold}
-->
</style>
</head>
<script type="text/javascript">
var content='';
function myClear(){
content=document.getElementById('reply_content').value;
document.getElementById('reply_content').value='';
}
function refill(){
document.getElementById('reply_content').value=content;
}
function reply_form(flag){
try{
document.getElementById('re_form_1').style.display=flag;
document.getElementById('re_form_2').style.display=flag;
document.getElementById('re_form_3').style.display=flag;
}catch(e){
}
}
function add_rp(obj){
	if(obj.checked==true) document.getElementById('add_rp').style.display='';
	else  document.getElementById('add_rp').style.display='none';
}
function set_yes_or_no(flag){
	if(flag) {
	document.getElementById('c_yes').checked=true;
	document.getElementById('c_no').checked=false;
	}else {
	document.getElementById('c_yes').checked=false;
	document.getElementById('c_no').checked=true;
	}
}
</script>

<body>
<table width="800" border="0" cellpadding="0" cellspacing="1" bgcolor="#999999"  >
	<tr>
		<td width="200" rowspan="2" bgcolor="#FFFFFF" style="padding-right:10px; padding-top:10px;" >
			
			
{{include file=$file_gm_info}}
			
			
			</td>
		<td valign="middle" bgcolor="#FFFFFF"  ><span class="STYLE1">单据查询</span></td>
	</tr>
	<tr>
		<td height="400" valign="top" bgcolor="#FFFFFF" style=" padding-top:10px; padding-left:3px; padding-right:3px;">
			<form action="" method="get" enctype="application/x-www-form-urlencoded" name="form" id="form">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
				


				<tr >
					<td style="padding-top:10px;"><strong>1.时间</strong>：
						<input name="time1" type="text" id="time1" style=" width:120px; height:14px; font-weight:bold;" value="{{$POST.time1}}" />
						到
						<input name="time2" type="text" id="time2" style=" width:120px; height:14px; font-weight:bold;" value="{{$POST.time2}}" />
						 <input type="submit" name="b1" id="b1" value="查询" /> 
						 <br />
						 <font color="#999999">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;( 年月日 空格隔开 例如:2007 05 06 )</font>					</td>
				</tr>




				
				<tr>
					<td style="padding-top:10px;"><strong>2.单据号</strong>：
						<input name="nb" type="text" id="nb" style=" width:120px; height:14px; font-weight:bold;" value="{{$POST.nb}}" />
					 	<input type="submit" name="b2" id="b2" value="查询" />
					</td>
				</tr>
				<tr>
					<td style="padding-top:10px;"><strong>3.处理人</strong>：
						<input name="gm" type="text" id="gm" style=" width:120px; height:14px; font-weight:bold;" value="{{$POST.gm}}" />
					 	<input type="submit" name="b3" id="b3" value="查询" />
					</td>
				</tr>
				<tr>
					<td style="padding-top:10px;"><strong>4.用户(昵称or帐号)</strong>：
						<input name="user" type="text" id="user" style=" width:120px; height:14px; font-weight:bold;" value="{{$POST.user}}" />
					 	<input type="submit" name="b4" id="b4" value="查询" />
					</td>
				</tr>
				<tr>
					<td> <br />
					</td>
				</tr>
			</table>			
			</form>
			
			{{if $ques_list.sql.count ne ''}}
			<table width="95%" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#000000" bgcolor="#999999" >
				<tr>
					<td height="24" colspan="5" valign="middle" bgcolor="#FFFFFF" ><strong>查询结果( {{$ques_list.sql.count}} )：</strong></td>
				</tr>
				<tr>
					<td width="35" bgcolor="#0099FF" class="STYLE2" style="padding-top:0px; padding-bottom:0px;">序列</td>
					<td bgcolor="#0099FF" class="STYLE2" style="padding-top:0px; padding-bottom:0px;"><span class="STYLE2" style="padding-top:0px; padding-bottom:0px;">单据号</span></td>
					<td bgcolor="#0099FF" class="STYLE2" style="padding-top:0px; padding-bottom:0px;">问题分类</td>
					<td width="30%" bgcolor="#0099FF" class="STYLE2" style="padding-top:0px; padding-bottom:0px;">提交时间</td>
					<td height="20" bgcolor="#0099FF" class="STYLE2" style="padding-top:0px; padding-bottom:0px;">状态</td>
				</tr>
				
{{section name=list loop=$ques_list.sql.count}}				
				<tr>
					<td width="35" height="22" bgcolor="#FFFFFF" style="padding-top:0px; padding-bottom:0px;">
					<strong>{{$smarty.section.list.index+$page*$ques_list->evey_page_num-$evey_page_num+1}}.</strong></td>
					<td bgcolor="#FFFFFF" style="padding-top:0px; padding-bottom:0px;"><a href="op_ques.php?id={{$ques_list[list].id}}" style="text-decoration:underline;"><strong>{{$ques_list[list].id|string_format:"%08d"}}</strong></a></td>
					<td bgcolor="#FFFFFF" style="padding-top:0px; padding-bottom:0px;">{{$ques_list[list].title}}</td>
					<td bgcolor="#FFFFFF" style="padding-top:0px; padding-bottom:0px;">{{$ques_list[list].ask_time}}</td>
					<td bgcolor="#FFFFFF" style="padding-top:0px; padding-bottom:0px;">{{$ques_list[list].state}}</td>
				</tr>
{{/section}}
			</table>
			{{/if}}
			
			
			
			
			
			
			
			
			
			<p>&nbsp;				</p>
			<p>
				<input type="button" name="button" id="button" value="返回到列表页" onclick="window.location='index.php'" />
			</p>
		</td>
	</tr>
</table>
<p>&nbsp;</p>
</body>
</html>
